package cn.chuengxu.handler;
import cn.chuengxu.User;
import com.alibaba.csp.sentinel.slots.block.BlockException;
import org.springframework.web.bind.annotation.PathVariable;


public class UserBlockHandler {

    public static User getUserBlockHandler(@PathVariable Long id, BlockException ex){
        return  User.builder().id(-1L).name("降级了").address("现在-100级").build();
    }
}